Skip to main content

spaceAbove

Type​

property

Summary​

Determines the space above a paragraph in a field.

Syntax​

set the spaceAbove of <line> of <field> to <pixels>

Description​

Use the spaceAbove property to specify the amount of space above a paragraph of text in a field.

Parameters​

NameTypeDescription

pixels

integer

The number of pixels of space above the paragraph.

Examples​

set the spaceAbove of line 1 of field 1 to 20

Value​

NameTypeDescription

value

The spaceAbove of a line of text in a field returns an integer.

property: leftIndent, borderWidth, vgrid, textAlign, dontWrap, formattedText, backgroundColor, listBehavior, listIndent, hidden, textSize, firstIndent, tabstops, spaceBelow, listStyle, rightIndent, listDepth, hgrid, hScrollbar, borderColor, formattedWidth

Compatibility and Support​

Introduced

LiveCode 5.5

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?